namespace RFIDData.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Card")]
    public partial class Card
    {
        [Key]
        [StringLength(20)]
        public string CaNo { get; set; }

        public int EmNo { get; set; }

        [Column(TypeName = "date")]
        public DateTime? CDate { get; set; }

        public bool? Active { get; set; }

        public virtual Employee Employee { get; set; }
    }
}
